if exist "Remote Control Dandy EN [v1.0] SplitBin.bin" del "Remote Control Dandy EN [v1.0] SplitBin.bin"
set binfullname=%~n1
copy /b "%binfullname% (Track 1).bin" + "%binfullname% (Track 2).bin" + "%binfullname% (Track 3).bin" + "%binfullname% (Track 4).bin" + "%binfullname% (Track 5).bin" "Remote Control Dandy EN [v1.0] SplitBin.bin"

xdelta3 -d -s "Remote Control Dandy EN [v1.0] SplitBin.bin" "../redump_patch/Remote Control Dandy EN [v1.0] Redump.xdelta" "Remote Control Dandy EN [v1.0] SplitBin.bin_patched"

if exist "Remote Control Dandy EN [v1.0] SplitBin.bin" del "Remote Control Dandy EN [v1.0] SplitBin.bin"
move "Remote Control Dandy EN [v1.0] SplitBin.bin_patched" "Remote Control Dandy EN [v1.0] SplitBin.bin"